import Base from "./base.js"
export default class extends Base {
  render() {
    this.$el.html(`
        <div class="layui-layout layui-layout-admin">
        <div class="layui-header">
          <div class="layui-logo layui-hide-xs layui-bg-black" style="color:#009688">猫眼电影后台管理系统</div>
          <!-- 头部区域（可配合layui 已有的水平导航） -->
          <ul class="layui-nav layui-layout-left">
            <!-- 移动端显示 -->
            <li class="layui-nav-item layui-show-xs-inline-block layui-hide-sm" lay-header-event="menuLeft">
              <i class="layui-icon layui-icon-spread-left"></i>
            </li>
            <li class="layui-nav-item layui-hide-xs"><a href="#/info/movies">电影列表</a></li>
            <li class="layui-nav-item layui-hide-xs"><a href="#/info/cinemas">影院列表</a></li>
            <li class="layui-nav-item layui-hide-xs"><a href="#/info/theaters">放映厅列表</a></li>
            <li class="layui-nav-item layui-hide-xs"><a href="#/info/schedules">排片列表</a></li>
            <li class="layui-nav-item layui-hide-xs"><a href="#/info/admins">管理员列表</a></li>
            <li class="layui-nav-item layui-hide-xs"><a href="#/info/usersList">网站用户列表</a></li>
            <li class="layui-nav-item layui-hide-xs"><a href="#/info/orderlist">订单列表</a></li>
          </ul>
          <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item layui-hide layui-show-md-inline-block">
              <a href="javascript:;">
                <img src="//tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg" class="layui-nav-img">
                管理员
              </a>
              <dl class="layui-nav-child">
                <dd><a href="">个人中心</a></dd>
                <dd><a href="">设置</a></dd>
                <dd><a href="#/login">退出</a></dd>
              </dl>
            </li>
            <li class="layui-nav-item" lay-header-event="menuRight" lay-unselect>
              <a href="javascript:;">
                <i class="layui-icon layui-icon-more-vertical"></i>
              </a>
            </li>
          </ul>
        </div>
        <div class="layui-side layui-bg-black">
          <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree" lay-filter="test">
              <li class="layui-nav-item ">
                <a class="" href="javascript:;"><i class="layui-icon">&#xe64a;</i>&nbsp;电影管理</a>
                <dl class="layui-nav-child">
                <dd><a href="#/info/movies">电影列表</a></dd>
                <dd><a href="#/info/add-movie">新增电影</a></dd>
                </dl>
              </li>
              <li class="layui-nav-item ">
                <a href="javascript:;"><i class="layui-icon">&#xe638;</i>&nbsp;影院管理</a>
                <dl class="layui-nav-child">
                <dd><a href="#/info/cinemas">影院列表</a></dd>
                <dd><a href="#/info/add-cinema">新增影院</a></dd>
                </dl>
              </li>
              <li class="layui-nav-item ">
                <a href="javascript:;"><i class="layui-icon">&#xe6ed;</i>&nbsp;放映厅管理</a>
                <dl class="layui-nav-child">
                  <dd><a href="#/info/theaters">放映厅</a></dd>
                  <dd><a href="#/info/add-theater">新增放映厅</a></dd>
                </dl>
              </li>
              <li class="layui-nav-item ">
                <a href="javascript:;"><i class="layui-icon">&#xe62a;</i>&nbsp;排片管理</a>
                <dl class="layui-nav-child">
                  <dd><a href="#/info/schedules">排片</a></dd>
                  <dd><a href="#/info/addschedules">新增排片</a></dd>
                </dl>
              </li>
              <li class="layui-nav-item ">
                <a href="javascript:;"><i class="layui-icon">&#xe770;</i>&nbsp;用户管理</a>
                <dl class="layui-nav-child">
                  <dd><a href="#/info/admins">后台管理员</a></dd>
                  <dd><a href="#/info/add-admin">新增管理员</a></dd>
                  <dd><a href="#/info/usersList">网站用户</a></dd>
                </dl>
              </li>
              <li class="layui-nav-item ">
                <a  href="javascript:;"><i class="layui-icon">&#xe63c;</i>&nbsp;订单管理</a>
                    <dl class="layui-nav-child">
                      <dd><a href="#/info/orderlist">订单列表</a></dd>
                    </dl>  
               </li>
            </ul>
          </div>
        </div>
      <div class="layui-body" style="margin:30px;">
        <!-- 内容主体区域 -->
        <div style="padding: 15px;">猫眼电影后台系统欢迎您</div>
      </div>
      </div>
        `);
        //不要删，删了info进去没有下拉箭头
        layui.element.render();
    }
}